﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="Cn.Cellula.Website.Admin.Db.Module.List" Title="系统模块定义" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPH_PageTitle" runat="server">
系统模块定义
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="CPH_MainBody" runat="server">
    <div class="tip">
        系统模块删除或修改了模块标识，需要重新编译 Cn.Cellula.Biz.CodeTypeDef.Module,Cn.Cellula.Biz，以使对应的系统功能可用。
    </div>
    <div class="action_bar">
        <asp:Button ID="btn_EOAdd" runat="server" Text="增加" onclick="btn_EOAdd_Click" />
        <asp:Button ID="btn_EOUpdate" runat="server" Text="修改" 
            OnClientClick="return acu.gv.checkModify(fixId('gvList'));" 
            onclick="btn_EOUpdate_Click" />
        <asp:Button ID="btn_EODel" runat="server" Text="删除" 
            OnClientClick="return acu.gv.checkDelete(fixId('gvList'));" 
            onclick="btn_EODel_Click" />
    </div>
    <fieldset>
        <legend>模块列表</legend>
        <asp:GridView ID="gvList" runat="server" AutoGenerateColumns="false" CssClass="GridView" DataKeyNames="ModuleKey">
            <Columns>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <input id="CheckAll" onclick="return acu.gv.selectAll(this,event);" tabindex="0"
                            type="checkbox" title="点击全选或反全选当前页所有信息" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:CheckBox ID="cbxRow" runat="server" CausesValidation="False"></asp:CheckBox>
                    </ItemTemplate>
                    <ItemStyle Width="10px" />
                </asp:TemplateField>
                <asp:BoundField DataField="ModuleKey" HeaderText="模块标识" />
                <asp:BoundField DataField="ModuleName" HeaderText="模块名称" />
                <asp:BoundField DataField="TableName" HeaderText="表名" />
                <asp:BoundField DataField="PkName" HeaderText="主键列" />
            </Columns>
            <HeaderStyle CssClass="GridViewHeader" />
            <RowStyle CssClass="GridViewRow" />
            <FooterStyle CssClass="GirdViewFooter" />
            <AlternatingRowStyle CssClass="GirdViewAlternatingRow" />
            <EmptyDataRowStyle CssClass="GridViewEmptyDataRow" />
            <EmptyDataTemplate>
                没有可用的数据</EmptyDataTemplate>
        </asp:GridView>
    </fieldset>
</asp:Content>
